<html>
<title></title>
<head>
<style type = "text/css">
{literal}
td{
	padding-right:3px;
	padding-left:3px;
}
td.bold p, td.bold, tr.bold td {
	font-weight: bold;
	font-size:10pt;
	font-family:Tahoma;
}

td.bold p{
  padding:0;
  margin:0;
}

td.small {
	font-size:7pt;
	font-family:Tahoma;
	font-style: italic;
}

td.small_2 {
	font-size:9pt;
	font-family:Tahoma;
}

td.big p, td.big{
	font-size: 11pt;
	font-family:Tahoma;
	font-weight: bold;
	padding:0;
	margin:0;
}

td.big_italic p{
	padding:0;
	margin:0;
	font-size: 10pt;
	font-weight: bold;
	font-style: italic;
	font-family:Tahoma;
}

tr.bg_gray td{
	background-color: #CCCCCC;
}

tr.bg_gray td.bold{
	background-color: #CCCCCC;
	font-weight: bold;
	font-size:10pt;
	font-family:Tahoma;
}

table.with_border td{
    border: 1px solid #000000;
	padding-left:5px;
}

#small_table td{
    border:1px solid #000000;
	font-size:7pt;
	font-family:Tahoma;
}

p.unocart_cart_attribute{
	padding:0;
	margin:0;
	text-indent:inherit;
}
{/literal}
</style>
</head>
<body>
<table width="794px" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <table width = "100%" align = "center" border = "0" cellspacing="0" cellpadding="0">
        <tr>
         <td colspan = "2"><img src = "{$config->live_path}/images/header.jpg" /></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width = "80%" align = "center" cellpadding="0" cellspacing="0" border = "0">
	    <tr>
		  <td class = "small" width="50%">
		    {$config->store_company_name}, {$config->store_address}, {$config->store_zip}, {$config->store_city}
		  </td>
		  <td class = "big" width="50%" style = "text-align:right">{$smarty.const._UNOCART_EMAIL_BILL}</td>
		</tr>
	    <tr>
		  <td class = "bold" style = "padding-top:10px">
		    <p>{$order->firma_name}</p>
		    <p>{$order->f_name} {$order->l_name}</p>
		    <p>{$order->street}</p>
		    <p>{$order->zip} {$order->city}</p>
		  </td>
		  <td class = "big_italic" style = "padding-top:10px; text-align:right">
		    <p>{$smarty.const._UNOCART_ORDER_SHORT_NR} {$order->order_number}</p>
		    <p>{$smarty.const._UNOCART_ORDER_FROM} {$order->order_date}</p>
		  </td>
		</tr>
	  </table>
    </td>
  </tr>
  <tr>
    <td style = "padding-top:100px">
	   <table width="80%" align="center" cellpadding="0" cellspacing="0" class = "with_border">
	     <tr class = "bg_gray">
		   <td class = "bold" width = "50%">
		     {$smarty.const._UNOCART_DESCRIPTION}
		   </td>
		   <td width = "25%">&nbsp;
		     
		   </td>
		   <td class = "bold" align = "right" width = "25%">
		     {$smarty.const._UNOCART_TOTAL}
		   </td>
		 </tr>
		 {foreach from=$order->products item=product}
		 <tr>
		   <td class = "small_2">
		     {$product->product_name}
   	         {foreach from=$prod.attributes_value item=attr}
	           <p class = "unocart_cart_attribute">{$attr->attr} : {$attr->value}</p>
	         {/foreach}
		   </td>
		   <td class = "small_2" align="center">
		     {$product->product_quantity}
		   </td>
		   <td class = "small_2" align = "right">
		     {format_price price=$product->product_quantity*$product->price_netto}
		   </td>
		 </tr>
		 {/foreach}
		 <tr>
		   <td colspan="3" class = "small_2">
               Die geltende MAXXmarketing AGB finden Sie auch direkt unter <a href = "http://www.maxx-marketing.net">www.maxx-marketing.net</a>		     
		   </td>
		 </tr>
		 <tr class = "bold">
		   <td colspan="2" align = "right">
               {$smarty.const._UNOCART_SUBTOTAL_NETTO}		     
		   </td>
		   <td align = "right">
		       {format_price price=$order->netto_sum}
		   </td>
		 </tr>
		 <tr class = "bold">
		   <td colspan="2" align = "right">
               {$smarty.const._UNOCART_VAT}		     
		   </td>
		   <td align = "right">
		       {format_price price=$order->order_subtotal-$order->netto_sum}		   </td>
		 </tr>
         {if $order->order_shipping}
	     <tr>
		   <td class = "bold" colspan = "2" align = "right">
		     {$smarty.const._UNOCART_SHIPPING_PRICE}
		   </td>
		   <td width = "25%" class = "bold" align = "right">
		     {format_price price=$order->order_shipping}
			</td>
		 </tr>
		 {/if}
	     <tr class = "bg_gray">
		   <td class = "bold" colspan = "2" align = "right">
		     {$smarty.const._UNOCART_TOTAL}
		   </td>
		   <td width = "25%" class = "bold" align = "right">
		     {format_price price=$order->order_total	}
			</td>
		 </tr>
	   </table>
	</td>
  </tr>
  <tr>
    <td align = "right" style = "padding-top:30px; padding-right:80px">
	  <table width = "30%" id = "small_table" cellpadding="0" cellspacing="0">
	    <tr class = "bg_gray">
		  <td colspan="2">
		     {$smarty.const._UNOCART_BENEF_BANK}
		  </td>
		</tr>
	    <tr>
		  <td colspan="2">
		     {$config->benef_bank_info|nl2br}
		  </td>
		</tr>
	    <tr>
		  <td width = "50%">
            {$smarty.const._UNOCART_BENEF_BIC} 
		  </td>
		  <td width = "50%">
		    {$config->benef_bic}
		  </td>
		</tr>
	    <tr>
		  <td>
		    {$smarty.const._UNOCART_BENEF_CONTO}
		  </td>
		  <td>
		    {$config->benef_conto}
		  </td>
		</tr>
	    <tr>
		  <td>
		    {$smarty.const._UNOCART_BENEF_IBAN}
		  </td>
		  <td>
		    {$config->benef_iban}
		  </td>
		</tr>
	    <tr>
		  <td>
		    {$smarty.const._UNOCART_BENEF_SWIFT}
		  </td>
		  <td>
		    {$config->benef_swift}
		  </td>
		</tr>
	    <tr class = "bg_gray">
		  <td colspan="2">
		    {$smarty.const._UNOCART_INTERM_BANK}
		  </td>
		</tr>
	    <tr>
		  <td>
		    {$smarty.const._UNOCART_INTERM_NAME}
		  </td>
		  <td>
		    {$config->interm_name}
		  </td>
		</tr>
	    <tr>
		  <td>
		    {$smarty.const._UNOCART_INTERM_SWIFT}
		  </td>
		  <td>
		    {$config->interm_swift}
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
  <tr>
    <td>
      <table width = "100%" align = "center" border = "0" cellspacing="0" cellpadding="0">
        <tr>
         <td colspan = "2"><img src = "{$config->live_path}/images/footer.jpg" /></td>
        </tr>
      </table>
	</td>
  </tr>
</table>
</body>
</html>